import http from '@/api/http'

// 通过网关访问：/api/finance/**
export const recoCreate = (data) => http.post('/finance/customer-reconciliation/create', data)

export const recoPage = (data) => http.post('/finance/customer-reconciliation/page', data)

export const recoDetail = (id) => http.get(`/finance/customer-reconciliation/${id}`)

export const recoSetStatus = (id, status) => http.put(`/finance/customer-reconciliation/${id}/status`, null, { params: { status } })

// 获取客户列表
export const getCustomerList = () => http.get('/finance/customer-reconciliation/customers')

